home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / winterp-1.13 / contrib / xmu / INSTALLATION < prev    next >
Encoding:
Text File  |  1991-10-06  |  3.3 KB  |  76 lines

  1. #
  2. # WINTERP Copyright 1989, 1990, 1991 Hewlett-Packard Company (by Niels Mayer).
  3. # XLISP version 2.1, Copyright (c) 1989, by David Betz.
  4. #
  5. # Permission to use, copy, modify, distribute, and sell this software and its
  6. # documentation for any purpose is hereby granted without fee, provided that
  7. # the above copyright notice appear in all copies and that both that
  8. # copyright notice and this permission notice appear in supporting
  9. # documentation, and that the name of Hewlett-Packard and David Betz not be
  10. # used in advertising or publicity pertaining to distribution of the software
  11. # without specific, written prior permission.  Hewlett-Packard and David Betz
  12. # make no representations about the suitability of this software for any
  13. # purpose. It is provided "as is" without express or implied warranty.
  14. #
  15.  
  16. How to install and run the Xmu menu server:
  17.  
  18. (1) Copy Xmu.ad to /usr/lib/X11/app-defaults/Xmu
  19.  
  20. (2) edit /usr/lib/X11/app-defaults/Xmu
  21.   Unless you've installed the winterp distribution under
  22.   /usr/local/winterp, you will need to change the 
  23.   "/usr/local/winterp" strings below to the location of your
  24.   winterp installation.
  25.     Xmu.lispInitFile: /usr/local/winterp/contrib/xmu/xmu-init.lsp
  26.     Xmu.lispLibDir:   /usr/local/winterp/contrib/xmu/
  27.  
  28.   Also, you may want to set the location of the xmu server socket to
  29.   somewhere other than /tmp if you are on a multiuser machine.
  30.     Xmu.unixSocketFilepath:        /tmp/.xmu_server
  31.   Note that if you change Xmu.unixSocketFilepath, you'll also have to
  32.   change "SERVER=/tmp/.xmu_server" in the scripts
  33.   winterp/contrib/xmu/bin/xmu, winterp/contrib/xmu/bin/xmu_server, and
  34.   winterp/contrib/xmu/bin/xmu_nuke
  35.  
  36. (3) run the shell script bin/xmu_server
  37.     (the first time you do this, uniconize the icon entitled
  38.     "XmuServer" to see if any error messages are produced. The
  39.     "XmuServer" window is an xterm which displays the output
  40.     from WINTERP's XLISP server.)
  41.  
  42. (4) start up gnu-emacs or gnuvo(HP only).
  43.  
  44. (5) In gnuemacs or gnuvo, load the following files, with the appropriate
  45. path substituted for "~/src/widgit/". Typically, you can just put these
  46. files in the *scratch* buffer, put the cursor on the opening paren of each
  47. form, and do C-M-X to evaluate the form. Alternately, you may use M-X
  48. load-file to interactively load the desired files. Finally, you could just
  49. put these files into your ~/.emacs...
  50.  
  51.     (load "~/src/widgit/contrib/xmu/GNU/xmu-menu")
  52.     (load "~/src/widgit/contrib/xmu/GNU/xmu-demo")
  53.     (load "~/src/widgit/contrib/xmu/GNU/xmenu-lib")
  54.     (load "~/src/widgit/contrib/xmu/GNU/xmenu-demo")
  55.  
  56. (6) Now you're ready to try some demos:
  57.  
  58. Now, do M-x xmu-demo, and a menu should pop up. Upon selecting a menu item
  59. (using mouse button 3), the picked item should be printed out in gnuemacs'
  60. minibuffer.
  61.  
  62. Also, try M-X xmenu-buffer-select, which will pop up a menu with all the
  63. buffers you've previously visited in your gnuemacs editing session. Select
  64. a buffer name with mouse button 3 and that buffer will pop up in gnuemacs.
  65.  
  66. In order to override the standard gnuemacs buffer selection keybinding,
  67. you may use:
  68.     (define-key global-map "\^x\^b" 'xmenu-buffer-select)
  69.  
  70. -------------------------------------------------------------------------------
  71.         Niels Mayer -- hplabs!mayer -- mayer@hplabs.hp.com
  72.           Human-Computer Interaction Department
  73.                Hewlett-Packard Laboratories
  74.                   Palo Alto, CA.
  75.                    *
  76.